using System;
using System.Collections.Generic;
using System.Text;

namespace Barrage.Render.Passes
{
    /// <summary>
    /// Simply a render pass with a ZCull default value of false
    /// </summary>
    public class PostprocessRenderPass:RenderPass
    {
        /// <summary>
        /// Constructor. Creates a render target with default values (screen size, X8R8G8B8 format) if specified.
        /// The depth buffer is not created, the engine's default is used.
        /// </summary>
        /// <param name="createRenderTarget">Tell if the render pass should create a new render target</param>
        public PostprocessRenderPass(bool createRenderTarget)
            : base(createRenderTarget)
        {
            ZCull = false;
        }
        /// <summary>
        /// Default constructor. Creates a new render target with default size and format
        /// </summary>
        public PostprocessRenderPass() : this(true) { }
    }
}
